package com.dongwu.manager.dto;

import com.dongwu.manager.entity.AppTemplate;
import com.google.common.collect.Lists;

import io.swagger.annotations.ApiModelProperty;

import java.math.BigDecimal;
import java.util.List;

public class ProductData {
	@ApiModelProperty(value = "ID")
	private String id;

	@ApiModelProperty(value = "商品名称")
	private String name;

	@ApiModelProperty(value = "商品价格")
	private BigDecimal price;

	@ApiModelProperty(value = "是否已导入（true导入，false未导入）")
	private boolean isexit;

	@ApiModelProperty(value = "返还积分")
	private Long rewardPoint;

	@ApiModelProperty(value = "访问路径")
	private String pathmobile;

	@ApiModelProperty(value = "介绍")
	private String introduction;

	@ApiModelProperty(value = "轮播图")
	private String slideImage;

	@ApiModelProperty(value = "视频")
	private String video;

	@ApiModelProperty(value = "缩略图")
	private String image;

	@ApiModelProperty(value = "外部商品编号")
	private String outSn;

	@ApiModelProperty(value = "平台添加的商品商家编码")
	private String bussinesSn;

	@ApiModelProperty(value = "平台添加的商品商家名称")
	private String bussinesName;

	@ApiModelProperty(value = "商品SKU")
	private String specificationItem;

	@ApiModelProperty(value = "goodsid")
	private String goodsid;

	@ApiModelProperty(value = "短网址")
	private String slink;

	@ApiModelProperty(value = "模板")
	private AppTemplate appTemplate;

	@ApiModelProperty(value = "商品类别")
	private String categoryName;

	@ApiModelProperty(value = "商品类别ID")
	private Integer categoryId;

	@ApiModelProperty(value = "是否热卖  0-非热卖 1-热卖")
	private int ishot;

	@ApiModelProperty(value = "广告类别ID")
	private String adsClassifyId;

	@ApiModelProperty(value = "规格列表")
	private List<SpecificationData> specificationList = Lists.newArrayList();

	public AppTemplate getAppTemplate() {
		return appTemplate;
	}

	public void setAppTemplate(AppTemplate appTemplate) {
		this.appTemplate = appTemplate;
	}

	public String getCategoryName() {
		return categoryName;
	}

	public void setCategoryName(String categoryName) {
		this.categoryName = categoryName;
	}

	public Integer getCategoryId() {
		return categoryId;
	}

	public void setCategoryId(Integer categoryId) {
		this.categoryId = categoryId;
	}

	public int getIshot() {
		return ishot;
	}

	public void setIshot(int ishot) {
		this.ishot = ishot;
	}

	public String getAdsClassifyId() {
		return adsClassifyId;
	}

	public void setAdsClassifyId(String adsClassifyId) {
		this.adsClassifyId = adsClassifyId;
	}

	public List<SpecificationData> getSpecificationList() {
		return specificationList;
	}

	public void setSpecificationList(List<SpecificationData> specificationList) {
		this.specificationList = specificationList;
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public BigDecimal getPrice() {
		return price;
	}

	public void setPrice(BigDecimal price) {
		this.price = price;
	}

	public boolean isIsexit() {
		return isexit;
	}

	public void setIsexit(boolean isexit) {
		this.isexit = isexit;
	}

	public Long getRewardPoint() {
		return rewardPoint;
	}

	public void setRewardPoint(Long rewardPoint) {
		this.rewardPoint = rewardPoint;
	}

	public String getPathmobile() {
		return pathmobile;
	}

	public void setPathmobile(String pathmobile) {
		this.pathmobile = pathmobile;
	}

	public String getIntroduction() {
		return introduction;
	}

	public void setIntroduction(String introduction) {
		this.introduction = introduction;
	}

	public String getSlideImage() {
		return slideImage;
	}

	public void setSlideImage(String slideImage) {
		this.slideImage = slideImage;
	}

	public String getVideo() {
		return video;
	}

	public void setVideo(String video) {
		this.video = video;
	}

	public String getImage() {
		return image;
	}

	public void setImage(String image) {
		this.image = image;
	}

	public String getOutSn() {
		return outSn;
	}

	public void setOutSn(String outSn) {
		this.outSn = outSn;
	}

	public String getBussinesSn() {
		return bussinesSn;
	}

	public void setBussinesSn(String bussinesSn) {
		this.bussinesSn = bussinesSn;
	}

	public String getBussinesName() {
		return bussinesName;
	}

	public void setBussinesName(String bussinesName) {
		this.bussinesName = bussinesName;
	}

	public String getSpecificationItem() {
		return specificationItem;
	}

	public void setSpecificationItem(String specificationItem) {
		this.specificationItem = specificationItem;
	}

	public String getGoodsid() {
		return goodsid;
	}

	public void setGoodsid(String goodsid) {
		this.goodsid = goodsid;
	}

	public String getSlink() {
		return slink;
	}

	public void setSlink(String slink) {
		this.slink = slink;
	}

	@Override
	public String toString() {
		return "ProductData [id=" + id + ", name=" + name + ", price=" + price + ", isexit=" + isexit + ", rewardPoint="
				+ rewardPoint + ", pathmobile=" + pathmobile + ", introduction=" + introduction + ", slideImage="
				+ slideImage + ", video=" + video + ", image=" + image + ", outSn=" + outSn + ", bussinesSn="
				+ bussinesSn + ", bussinesName=" + bussinesName + ", specificationItem=" + specificationItem
				+ ", goodsid=" + goodsid + ", slink=" + slink + "]";
	}

}
